home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UNIXTOOL
/
MEMACS
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-03-05
|
1KB
|
62 lines
# Makefile for Archimedes MicroEmacs 3.11 (beta)
# Emacs files
OBJ = O.Archimedes O.Basic O.Bind O.Buffer O.Char O.Crypt O.Display O.Eval \
O.Exec O.File O.Fileio O.Input O.Isearch O.Line O.Main O.Random \
O.Region O.Riscos O.Screen O.Search O.Tags O.Window O.Word
HDR = H.Ebind H.Edef H.Efunc H.Elang H.Epath H.Eproto H.Estruct H.Evar
SRC = $(subst O.,C.,$(OBJ))
# Any special options?
# Unused args, assumed INT for void functions... Aargh.
CFLAGS = -w
# General definitions
CMD = $$.Lib.Emacs
BIN = $$.Library
LIBS = Lib:Stubs Lib:Utils
.PHONY: all install clean clobber
%_Z:
# ----------------------------------------------------------------------
all: Emacs
# 3.11 (beta) release command files not ported. Only copy the executable.
install: $(BIN).Emacs
# Copy Cmd.* $(CMD).* SFQ~C~V
# Access $(CMD).* RL
clean:
$(dolines i,$(OBJ) O.EmacsKeys,Remove $i)
clobber: clean
Remove Emacs
# ----------------------------------------------------------------------
$(BIN).%: %
Copy $< $@ SFQ~C~V
Access $@ RL
Emacs: $(OBJ) O.EmacsKeys
Link $(LINKFLAGS) -o $@ $^ $(LIBS)
Squeeze $@
# ----------------------------------------------------------------------
$(OBJ): $(HDR)
# ----------------------------------------------------------------------
tags: $(SRC) $(HDR)
Ctags $(SRC) $(HDR)
@Rename Tags Tags